/**
 * 调解服务模块路由配置
 * 包含调解申请、列表、详情、记录等功能页面
 */
export default [
  {
    path: '/mediation',
    name: 'Mediation',
    component: () => import('@/views/mediation/index.vue'),
    meta: {
      title: '调解服务',
      requireAuth: true
    }
  },
  {
    path: '/mediation/list',
    name: 'MediationList',
    component: () => import('@/views/mediation/index2.vue'),
    meta: {
      title: '调解列表',
      requireAuth: true
    }
  },
  {
    path: '/mediation/apply',
    name: 'MediationApply',
    component: () => import('@/views/mediation/apply/index.vue'),
    meta: {
      title: '申请调解',
      requireAuth: true
    }
  },
  {
    path: '/mediation/apply/form',
    name: 'MediationApplyForm',
    component: () => import('@/views/mediation/apply/form.vue'),
    meta: {
      title: '调解申请表',
      requireAuth: true
    }
  },
  {
    path: '/mediation/detail/:id',
    name: 'MediationDetail',
    component: () => import('@/views/mediation/detail/index.vue'),
    meta: {
      title: '调解详情',
      requireAuth: true
    }
  },
  {
    path: '/mediation/record',
    name: 'MediationRecord',
    component: () => import('@/views/mediation/record/index.vue'),
    meta: {
      title: '调解记录',
      requireAuth: true
    }
  },
  {
    path: '/mediation/record/detail/:id',
    name: 'MediationRecordDetail',
    component: () => import('@/views/mediation/record/detail.vue'),
    meta: {
      title: '调解记录详情',
      requireAuth: true
    }
  }
]